package com.pattern.builder;

public class OuterBuilder {
	private final int f1;
	private final int f2;
	private int f3 = 0;
	private int f4 = 0;
	private int f5 = 0;
	private int f6 = 0;

	public OuterBuilder(int f1, int f2) {
		this.f1 = f1;
		this.f2 = f2;
	}

	public OuterBuilder setF3(int f) {
		this.f3 = f;
		return this;
	}

	public OuterBuilder setF4(int f) {
		this.f4 = f;
		return this;
	}

	public OuterBuilder setF5(int f) {
		this.f5 = f;
		return this;
	}

	public OuterBuilder setF6(int f) {
		this.f6 = f;
		return this;
	}

	public int getF1() {
		return f1;
	}

	public int getF2() {
		return f2;
	}

	public int getF3() {
		return f3;
	}

	public int getF4() {
		return f4;
	}

	public int getF5() {
		return f5;
	}

	public int getF6() {
		return f6;
	}

}
